﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 英雄
{
    class TaiLa:Hero
    {
        public TaiLa(string nickname ,string name , int attack,int defense,int speed)
            :base(nickname,name,attack,defense,speed)
        {
            base.HeroInfo = "是一名为复仇而来的勇者";
        }

        public void FirstSkill()
        {
            Console.WriteLine("技能一：巨浪冲击");
        }
        public void SecondSkill()
        {
            Console.WriteLine("技能二：元素突击");
        }
        public void ThirdSkill()
        {
            Console.WriteLine("技能三：复仇杀戮");
        }
        public void GetMsg()
        {
            Console.WriteLine("我是{0}，{1}，\n 攻击力：{2}， \n 防御力：{3}，\n 速度：{4} ，\n 用户名：{5}", base.Name, base.HeroInfo, base.Attack, base.Defense, base.Speed, base.NikeName);
        }
    }
}
